/*
 * Copyright 2009 Douglas Lockamy, dlockamy_at_gmail.com
 * All rights reserved. Distributed under the terms of the MIT License.
*/

if (!this.btester) btester = {};

btester.main = function(args)
{
    if(args == "ApplicationKit")
    {
    
    }
    else if(args == "DeviceKit")
    {
    
    }
    else if(args == "MediaKit")
    {
    
    }
    else if(args == "StorageKit")
    {
    
    }
    else if(args == "SupportKit")
    {
    
    }
    else
    {
        BAlert("We're going to test the interface kit!");
        
        //interface
        aFrame = new BFrame("10","10","200","600");
    
        testWindow = new BWindow(aFrame,"tester",null,null);

        var bframe = new BFrame(0,0,150,600);
        var bView = new BButton(bframe,"KitTester","A Test Button",demoCallBack);    
        testWindow.addChild(bView);
            
        cmdRect = new BFrame(0,173,49,600);    
        cmdLine = new BInput(cmdRect,"commandline",null,benix.stdin);   
        testWindow.addChild(cmdLine );

          
        testWindow.Show();
        
        
    };
};

demoCallBack = function()
{
    alert("You CLicked me!!");
};

 